package com.jeckey.demo;

import java.math.BigDecimal;

/**
 * 苹果类：继承水果类，指定单价8元/斤
 */
public class Apple extends Fruit {
    public Apple() {
        super("苹果", new BigDecimal("8.0"));
    }
}